@charset "UTF-8";
/*!
 * Kendo UI Admin v1.0.0 by IKKI & Amikoko - https://ikki2000.github.io/
 * Copyright 2018-2020 IKKI Studio
 * Released under the MIT License - https://ikki2000.gitee.io/kendoui-admin-site/LICENSE
 */

/* CSS for All Admin Pages | Written by Amikoko | 2018-02-03 */

// Sass ------------------------------ */
$aside-nav-width: 200px;
$aside-menu-width: 60px;
$header-height: 60px;
$header-bg-color: #fff;
$section-bg-color: #eee;
$box-border-color: #ddd;
$footer-txt-color: #999;
$alt-bg-color: #f5f5f5;
$mask-bg: rgba(0, 0, 0, .3);
$line-color: #ccc;
$hover-border: 3px solid transparent;
$font-size-s: 12px;
$font-size-m: 14px;
$font-size-l: 16px;
$font-size-xl: 18px;
$font-size-xxl: 20px;
$border-radius: 4px;
$border-radius-round: 50%;

@mixin nav-menu-ani {
    transition: all .3s;
}

@mixin nav-menu-dom {
    border: none;
    white-space: nowrap;
    text-decoration: none;
    color: inherit;
    background: transparent;
    box-shadow: none;
}

@mixin nav-menu-bg-dark {
    background-color: rgba(0, 0, 0, .08);
}

@mixin nav-menu-bg-light {
    background-color: rgba(255, 255, 255, .2);
}

@mixin nav-menu-small {
    margin-left: 5px;
    font-size: 11px;
    opacity: .5;
}

@mixin nav-menu-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
}

@mixin nav-menu-icon-s {
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 16px;
}

@mixin badge-dot {
    display: inline-block;
    position: absolute;
    border-radius: $border-radius-round;
    width: 10px;
    height: 10px;
    text-indent: -9999px;
    background: #f35800;
}

@mixin nav-menu-img {
    margin: 0 2px 0 10px;
    border-radius: $border-radius-round;
    width: 40px;
    height: 40px;
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, .6);
}

@mixin css-arrow {
    position: absolute;
    border-style: solid;
    border-color: transparent;
    width: 0;
    height: 0;
    content: "";
}

@mixin focus-shadow {
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075), 0 0 5px rgba(128, 189, 255, .5);
}

@mixin required-star {
    margin-right: .2em;
    font-size: $font-size-xxl;
    line-height: $font-size-s;
    vertical-align: -50%;
}

@font-face {
    font-family: "Font Awesome";
    src: url("../fonts/fa-solid-900.eot");
    src: url("../fonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../fonts/fa-solid-900.woff2") format("woff2"), url("../fonts/fa-solid-900.woff") format("woff"), url("../fonts/fa-solid-900.ttf") format("truetype"), url("../fonts/fa-solid-900.svg#fontawesome") format("svg");
}

/* 主体框架结构 ------------------------------ */
html,
body {
    overflow: hidden;
    width: 100%;
    height: 100%;
    font-family: "Microsoft YaHei", arial, simsun, sans-serif;
    font-size: $font-size-m;
}

#aside {
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: $aside-nav-width;
    height: 100%;
    @include nav-menu-ani;
}

#main {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: $aside-nav-width;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: calc(100% - #{$aside-nav-width});
    height: 100%;
    @include nav-menu-ani;
}

#header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
    height: $header-height;
    background: $header-bg-color;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

#section {
    overflow: auto;
    position: absolute;
    top: $header-height;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 15px 15px 0 15px;
    width: 100%;
    height: calc(100% - #{$header-height});
    background: $section-bg-color;
}

iframe#section {
    border: none;
    padding: 0;
}

#container {
    position: relative;
    min-height: 96%;
    > .k-tabstrip-wrapper {
        position: absolute;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
}

#footer {
    padding-top: 12px;
    height: 4%;
    font-size: $font-size-s;
    line-height: $font-size-s;
    text-align: center;
    color: $footer-txt-color;
    background: $section-bg-color;
    text-shadow: 1px 1px 0 $header-bg-color;
}

#locking {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    right: 50%;
    bottom: 50%;
    z-index: 10000;
    width: 0;
    height: 0;
    text-align: center;
    color: #fff;
    background: url("../img/lock_bg.jpg") no-repeat center;
    background-size: 100% 100%;
    transition: all .2s linear;
    figure {
        position: relative;
        margin-bottom: 0;
        &:hover:after {
            display: flex;
            justify-content: center;
            align-items: center;
            position: absolute;
            top: 0;
            left: 0;
            border-radius: $border-radius-round;
            width: 100%;
            height: 100%;
            font-family: "Font Awesome", sans-serif;
            font-size: 48px;
            background: rgba(0, 0, 0, .5);
            content: "\f13e";
            cursor: pointer;
        }
    }
    img {
        border-radius: $border-radius-round;
        width: 0;
        height: 0;
        background: #fff;
        box-shadow: 0 0 3px 1px rgba(0, 0, 0, .6);
        opacity: 0;
        transition: all .6s linear;
    }
    h3 {
        margin: 20px 0 30px 0;
        font-size: 0;
        opacity: 0;
        transition: all .6s linear;
    }
    &.lock-ani {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        img {
            width: 128px;
            height: 128px;
            opacity: 1;
        }
        h3 {
            font-size: 30px;
            opacity: 1;
        }
    }
    .input-group {
        width: 300px;
        opacity: 0;
        transition: opacity .6s;
        &.lock-input-ani {
            opacity: 1;
        }
    }
    .form-control {
        font-size: $font-size-m;
        &:focus {
            @include focus-shadow;
        }
    }
    .input-group-append {
        cursor: pointer;
    }
    i {
        font-size: 16px;
    }
}

#aside,
#header {
    h1 {
        margin: 0;
        width: 100%;
        height: $header-height;
        text-indent: -9999px;
        background: $header-bg-color url("../img/logo.png") no-repeat center;
        background-size: auto 72%;
        box-shadow: -2px 1px 2px rgba(0, 0, 0, .2);
    }
}

/* Splitter 版 */
#body {
    border: none;
    height: 100%;
    #header {
        overflow: visible;
        border-bottom: 1px solid $line-color;
        box-shadow: none;
        h1 {
            display: block;
            position: static;
            float: left;
            width: $aside-nav-width;
        }
    }
    #main {
        left: 0;
        border: none;
        width: 100%;
        height: calc(100% - 69px);
        transition: none;
    }
    #aside {
        transition: none;
    }
    #section {
        border: 1px solid $line-color;
    }
    #path {
        padding-left: 15px;
    }
    #nav {
        height: 100%;
    }
}

/* 左侧导航 */
#nav {
    overflow-x: hidden;
    overflow-y: auto;
    width: $aside-nav-width + 20px;
    height: calc(100% - #{$header-height});
    small {
        @include nav-menu-small;
        display: inline-block;
        font-family: tahoma, sans-serif;
        -webkit-transform: scale(.916);
        -moz-transform: none;
        -ms-transform: none;
    }
    i {
        @include nav-menu-icon;
        margin-right: 10px;
    }
    sup {
        top: 8px;
        left: 8px;
        @include badge-dot;
    }
    sub {
        display: inline-block;
        position: absolute;
        top: 15px;
        right: 30px;
        border-radius: $border-radius;
        padding: 2px 5px;
        height: 16px;
        font-family: "Microsoft YaHei", tahoma, sans-serif;
        font-size: $font-size-s;
        line-height: $font-size-s;
    }
    .k-group {
        i {
            @include nav-menu-icon-s;
            margin-right: 6px;
        }
        sub {
            position: relative;
            top: 0;
            left: 5px;
        }
    }
}

#navPanelBar,
#navMenu {
    &,
    .k-item,
    .k-link,
    .k-icon {
        @include nav-menu-dom;
    }
    .k-link {
        padding: 12px 0 12px 12px;
        cursor: pointer;
    }
    .k-group {
        .k-link {
            font-size: $font-size-s;
        }
    }
    .k-state-hover {
        @include nav-menu-bg-light;
    }
}

#navPanelBar {
    width: $aside-nav-width;
    sup {
        display: none;
    }
    .k-group {
        @include nav-menu-dom;
        @include nav-menu-bg-light;
        .k-link {
            padding: 8px 0 8px 20px;
        }
    }
    .k-state-active > span.k-link,
    .k-state-selected {
        @include nav-menu-bg-dark;
    }
}

#navMenu {
    width: $aside-menu-width;
    &,
    abbr {
        display: none;
    }
    .k-group {
        .k-link {
            border-left: $hover-border;
            padding: 8px 30px 8px 20px;
        }
        .k-state-hover > .k-link,
        .k-state-active {
            @include nav-menu-bg-dark;
        }
    }
    > .k-item {
        > .k-state-active {
            @include nav-menu-bg-light;
        }
    }
}

/* 左侧导航动效 */
#navCkb {
    position: absolute;
    z-index: -1;
    opacity: 0;
    &:checked {
        ~ #aside {
            width: $aside-menu-width;
            h1 {
                background-image: url("../img/logo_s.png");
            }
            &,
            #nav {
                overflow: visible;
                width: $aside-menu-width;
            }
            #navPanelBar {
                display: none;
            }
            #navMenu {
                display: block;
            }
        }
        ~ #main {
            left: $aside-menu-width;
            width: calc(100% - #{$aside-menu-width});
            #header {
                .fa-bars {
                    transform: rotate(-90deg);
                }
            }
        }
    }
}

#mask,
#botMask {
    position: fixed;
    top: $header-height;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    height: calc(100% - #{$header-height});
    background: $mask-bg;
    opacity: 0;
    @include nav-menu-ani;
}

/* 顶部菜单 */
#header {
    > label {
        margin-bottom: 0;
        i {
            margin: 15px;
            font-size: 30px;
            cursor: pointer;
            @include nav-menu-ani;
        }
        &[for="navCkb"] {
            float: left;
        }
        &[for="menuCkb"] {
            display: none;
            float: right;
        }
    }
    h1 {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        box-shadow: none;
    }
}

#path {
    float: left;
    height: $header-height;
    line-height: $header-height;
    color: #000;
    a {
        text-decoration: none;
        color: #000;
    }
    i {
        @include nav-menu-icon-s;
        margin-right: 6px;
    }
    sup {
        top: 16px;
        margin-left: -26px;
        @include badge-dot;
    }
    small {
        @include nav-menu-small;
    }
    img {
        @include nav-menu-img;
    }
    sub,
    .k-i-arrow-60-up,
    .k-i-arrow-60-down,
    .k-i-arrow-60-left,
    .k-i-arrow-60-right {
        display: none;
    }
    .fa-angle-double-right {
        margin: 0 10px;
        color: $line-color;
    }
}

#menuH,
#menuV {
    .k-item,
    .k-link {
        @include nav-menu-dom;
        color: #000;
    }
    .global-search > .k-link {
        width: 74px;
        transition: width 500ms ease;
        &:hover {
            width: 300px;
            abbr {
                display: none;
            }
            .k-combobox {
                display: inline-flex;
            }
        }
    }
    .k-combobox {
        display: none;
        width: 100%;
        direction: ltr;
        .k-dropdown-wrap {
            i {
                margin: 6px;
                width: 16px;
                height: 16px;
                font-size: 16px;
                line-height: 16px;
            }
            .k-input {
                padding-left: 0;
            }
            .k-clear-value {
                right: 4px;
            }
            .k-select {
                display: none;
            }
        }
    }
    sup {
        display: inline-block;
        position: absolute;
        top: 6px;
        border-radius: $border-radius-round;
        width: 20px;
        height: 20px;
        font-size: 12px;
        line-height: 20px;
        text-align: center;
        transform: scale(.8);
    }
    small {
        @include nav-menu-small;
    }
    i {
        @include nav-menu-icon;
        margin-right: 6px;
    }
    .k-group {
        i,
        img {
            @include nav-menu-icon-s;
            margin-right: 6px;
        }
        i.color {
            margin: 0;
            border: 1px solid $line-color;
            width: 22px;
            height: 22px;
        }
        i.flag-icon {
            border: 1px solid $line-color;
            width: 22px;
            height: 17px;
        }
        .k-link {
            font-size: $font-size-s;
        }
        .k-state-hover > .k-link,
        .k-state-active {
            @include nav-menu-bg-dark;
        }
    }
    > .k-item {
        > .k-link {
            img {
                @include nav-menu-img;
            }
        }
        > span.k-link {
            cursor: default;
        }
        > span.k-state-active {
            cursor: pointer;
        }
    }
    #messageBox {
        .card {
            border: 0;
            .card-header {
                padding: .5rem;
                i {
                    margin-right: 0;
                }
                strong {
                    margin-left: 10px;
                    font-size: 15px;
                    vertical-align: middle;
                }
                a {
                    float: right;
                    margin-top: 3px;
                    font-size: $font-size-s;
                    color: #999;
                    text-decoration: none;
                    &:hover {
                        color: #666;
                    }
                    i {
                        margin-left: 3px;
                        vertical-align: -10%;
                    }
                }
            }
            .card-body {
                padding: 0;
                .k-drawer-container {
                    border: 0;
                    border-radius: 0;
                    #messageDrawer {
                        background: #e6e6e6;
                        .k-drawer-item {
                            align-items: center;
                            position: relative;
                            font-size: $font-size-m;
                            i {
                                margin: 0 12px 0 4px;
                                min-width: 16px;
                            }
                            .badge {
                                margin-left: 6px;
                                font-weight: 100;
                            }
                            sup {
                                top: 8px;
                                left: 8px;
                                width: 10px;
                                height: 10px;
                                background: #f35800;
                            }
                        }
                    }
                    #messageDrawerContent {
                        .k-listview {
                            border: 0;
                            background: #eee;
                            box-shadow: 1px 0 2px rgba(0, 0, 0, .1);
                            .mail-list {
                                padding: 8px 12px;
                                img {
                                    margin: 0 6px 5px 0;
                                    border: 1px solid $line-color;
                                    border-radius: $border-radius-round;
                                    width: 20px;
                                    height: 20px;
                                }
                                h5 {
                                    margin-bottom: 0;
                                    font-size: $font-size-m;
                                    color: #bababa;
                                    white-space: normal;
                                }
                                p {
                                    margin-bottom: 3px;
                                    font-size: $font-size-s;
                                    color: #bababa;
                                    white-space: normal;
                                }
                                time {
                                    font-size: $font-size-s;
                                    color: #bababa;
                                }
                            }
                            .unread {
                                h5 {
                                    color: #000;
                                }
                                p {
                                    color: #666;
                                }
                                time {
                                    color: #999;
                                }
                            }
                            .k-state-selected {
                                h5,
                                p,
                                time {
                                    color: #000;
                                }
                            }
                            .sms-list {
                                display: flex;
                                position: relative;
                                padding: 8px 12px;
                                figure {
                                    flex: 0 0 44px;
                                    margin: 0;
                                    padding-right: 8px;
                                    sup {
                                        top: 1px;
                                        left: 5px;
                                    }
                                    img {
                                        border-radius: $border-radius;
                                        width: 100%;
                                        height: auto;
                                        box-shadow: 0 0 2px 1px rgba(0, 0, 0, .2);
                                    }
                                }
                                > div {
                                    flex: auto;
                                    h5 {
                                        margin-bottom: 2px;
                                        font-size: $font-size-m;
                                        color: #000;
                                        strong {
                                            display: inline-block;
                                            width: calc(100% - 36px);
                                            font-weight: normal;
                                            text-overflow: ellipsis;
                                            overflow: hidden;
                                        }
                                        time {
                                            float: right;
                                            font-size: $font-size-s;
                                            color: #999;
                                        }
                                    }
                                    p {
                                        margin-bottom: 0;
                                        width: 90px;
                                        font-size: $font-size-s;
                                        color: #999;
                                        text-overflow: ellipsis;
                                        overflow: hidden;
                                    }
                                }
                            }
                            .address-book-list {
                                padding: 8px 0;
                                h4 {
                                    padding: 0 12px;
                                    font-size: $font-size-m;
                                    color: #999;
                                }
                                h5 {
                                    margin-bottom: 0;
                                    padding: 5px 12px;
                                    font-size: $font-size-m;
                                    color: #000;
                                    white-space: normal;
                                    &:hover {
                                        background: #ddd;
                                        cursor: pointer;
                                    }
                                    &.k-state-selected {
                                        background: #ccc;
                                    }
                                }
                                img {
                                    margin: 0 6px 0 0;
                                    border: 1px solid $line-color;
                                    border-radius: $border-radius-round;
                                    width: 30px;
                                    height: 30px;
                                }
                            }
                        }
                        .blank {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            height: 600px;
                            .k-i-loading {
                                margin-right: 6px;
                            }
                        }
                        .mail-content {
                            overflow: auto;
                            padding: 10px 20px;
                            height: 600px;
                            line-height: 1.25rem;
                            h6 {
                                line-height: 1.5;
                                white-space: normal;
                            }
                            dl {
                                margin-top: 10px;
                                margin-bottom: 10px;
                                border-top: 1px solid $line-color;
                                border-bottom: 1px solid $line-color;
                                padding-top: 5px;
                                padding-bottom: 5px;
                                font-size: $font-size-s;
                                dt {
                                    font-weight: normal;
                                    color: #999;
                                    text-align: right;
                                }
                                dd {
                                    white-space: normal;
                                    > img {
                                        margin-right: 3px;
                                        border: 1px solid $line-color;
                                        border-radius: $border-radius-round;
                                        width: 12px;
                                        height: 12px;
                                        vertical-align: -10%;
                                    }
                                }
                            }
                            .content {
                                white-space: normal;
                            }
                            .btns {
                                margin-top: 10px;
                                border-top: 1px solid $line-color;
                                padding: 10px;
                                text-align: center;
                                button {
                                    margin: 0 10px;
                                }
                            }
                        }
                        #writeMail {
                            .mail-content {
                                padding: 20px;
                                .k-multiselect-wrap {
                                    img {
                                        margin-right: 6px;
                                        border: 1px solid $line-color;
                                        border-radius: $border-radius-round;
                                        width: 20px;
                                        height: 20px;
                                    }
                                }
                                textarea {
                                    height: 320px;
                                }
                                .btns {
                                    margin-top: 0;
                                    border-top: 0;
                                }
                            }
                        }
                        #sms {
                            .blank {
                                height: 550px;
                            }
                        }
                        #smsChat {
                            border-top: 0;
                            border-right: 0;
                            border-bottom: 0;
                            background: #f4f4f4;
                            white-space: normal;
                            .k-message-list {
                                img {
                                    margin: 0;
                                    border: 1px solid $line-color;
                                    width: 32px;
                                    height: 32px;
                                }
                                time {
                                    color: #999;
                                }
                            }
                            .k-message-box {
                                border-color: $line-color;
                            }
                        }
                        #smsSearch,
                        #addressBookSearch {
                            padding: 10px;
                            background: #eee;
                            box-shadow: 1px 0 2px rgba(0, 0, 0, .1);
                        }
                        .address-book-content {
                            display: flex;
                            flex-direction: column;
                            justify-content: center;
                            align-items: center;
                            height: 600px;
                            color: #fff;
                            figure {
                                position: absolute;
                                width: 100%;
                                height: 100%;
                                margin: 0;
                                background-repeat: no-repeat;
                                background-size: cover;
                                background-position: center;
                                filter: blur(50px);
                                opacity: .8;
                            }
                            img {
                                position: relative;
                                margin-bottom: 30px;
                                width: 160px;
                                height: 160px;
                            }
                            h5 {
                                position: relative;
                                margin-bottom: 15px;
                                font-size: 30px;
                                font-weight: 100;
                                opacity: .8;
                                i {
                                    margin: 0;
                                    width: 30px;
                                    height: 30px;
                                    font-size: 30px;
                                    line-height: 30px;
                                    vertical-align: -4%;
                                }
                            }
                            h6 {
                                position: relative;
                                margin-bottom: 15px;
                                font-size: 20px;
                                font-weight: 100;
                                opacity: .8;
                            }
                            p {
                                position: relative;
                                margin-bottom: 30px;
                                font-size: 16px;
                                font-weight: 100;
                                opacity: .8;
                            }
                            .btns {
                                position: relative;
                                border-top: 1px solid rgba(255, 255, 255, .4);
                                padding-top: 30px;
                                width: 80%;
                                text-align: center;
                                button {
                                    margin: 0 10px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    #msgReceiver-list,
    #msgCC-list {
        li.k-item {
            img {
                margin-right: 6px;
                border: 1px solid $line-color;
                border-radius: $border-radius-round;
                width: 20px;
                height: 20px;
            }
            &.k-state-hover {
                background: #eee;
            }
            &.k-state-selected {
                background: #ddd;
            }
        }
    }
    #noticeBox {
        .k-tabstrip-items {
            justify-content: space-around;
            .k-state-active {
                border-bottom-width: 3px;
                border-bottom-style: solid;
                border-radius: 0;
                background: transparent;
                .k-link {
                    color: #000;
                }
            }
            .k-state-hover {
                .k-link {
                    color: #000;
                    background: transparent;
                }
            }
            .k-link {
                border: 0;
                padding: 10px 20px;
                color: #656565;
                .badge {
                    margin-left: 6px;
                    font-weight: 100;
                }
            }
        }
        .k-content {
            border: 0;
            border-radius: 0;
            padding: 0;
            &.k-state-active {
                background: #fff;
            }
            .k-listview {
                border: 0;
                .media {
                    padding: 15px 20px;
                    figure {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        margin: 0 15px 0 0;
                        border-radius: $border-radius-round;
                        width: 32px;
                        height: 32px;
                        i {
                            margin: 0;
                        }
                    }
                    img {
                        margin: 0 15px 0 0;
                        border: 1px solid $line-color;
                        border-radius: $border-radius-round;
                        width: 32px;
                        height: 32px;
                    }
                    h5 {
                        margin-bottom: 10px;
                        font-size: $font-size-m;
                        color: #ccc;
                        white-space: normal;
                        em {
                            float: right;
                            margin-left: 10px;
                            border-width: 1px;
                            border-style: solid;
                            border-radius: $border-radius;
                            padding: 3px 8px;
                            font-size: $font-size-s;
                            font-style: normal;
                        }
                        .k-notification-normal {
                            border-color: $line-color;
                            color: #656565;
                            background: #f6f6f6;
                        }
                    }
                    p {
                        margin-bottom: 3px;
                        font-size: $font-size-s;
                        color: #ccc;
                        white-space: normal;
                    }
                    time {
                        font-size: $font-size-s;
                        color: #ccc;
                    }
                    .unread {
                        h5 {
                            color: #000;
                        }
                        p {
                            color: #666;
                        }
                        time {
                            color: #999;
                        }
                    }
                }
                .k-state-selected {
                    h5,
                    p,
                    time {
                        color: #000;
                    }
                }
            }
            .blank {
                display: flex;
                justify-content: center;
                align-items: center;
                height: 500px;
                .k-i-loading {
                    margin-right: 6px;
                }
            }
            .notice-tools {
                display: flex;
                justify-content: space-between;
                border-top: 1px solid $line-color;
                padding: 8px 10px;
                font-size: $font-size-s;
                background-color: rgba(0, 0, 0, .03);
                a {
                    color: #999;
                    text-decoration: none;
                    &:hover {
                        color: #666;
                    }
                }
            }
        }
    }
}

#menuH {
    float: right;
    @include nav-menu-dom;
    sup {
        left: 0;
    }
    hr {
        border-top: none;
        border-left: 1px solid $line-color;
        width: 0;
        height: 20px;
    }
    i.color {
        &:first-child {
            border-right: none;
            border-radius: $border-radius 0 0 $border-radius;
        }
        &:last-child {
            margin-right: 6px;
            border-left: none;
            border-radius: 0 $border-radius $border-radius 0;
        }
    }
    .k-group {
        .k-link {
            border-left: $hover-border;
            padding: 8px 30px 8px 20px;
        }
    }
    > .k-item {
        > .k-link {
            border-top: $hover-border;
            padding: 7px 10px 10px 10px;
            height: $header-height;
            line-height: $header-height;
        }
        > .k-animation-container {
            left: auto !important;
            right: 0;
            > .k-group {
                overflow: visible !important;
                &:before {
                    @include css-arrow;
                    top: -16px;
                    right: 47px;
                    z-index: 999;
                    border-width: 8px;
                    border-bottom-color: #f9f9f9;

                }
                &:after {
                    @include css-arrow;
                    top: -20px;
                    right: 45px;
                    z-index: 888;
                    border-width: 10px;
                    border-bottom-color: $line-color;
                }
            }
        }
    }
    .global-search {
        width: 74px;
        > .k-link {
            position: absolute;
            right: 0;
        }
    }
}

#menuV {
    display: none;
    position: absolute;
    top: $header-height;
    right: -100%;
    z-index: 999;
    border: 1px solid $line-color;
    background: #f9f9f9;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .03), 0 4px 5px 0 rgba(0, 0, 0, .04);
    direction: rtl;
    text-align: right;
    @include nav-menu-ani;
    &:before {
        @include css-arrow;
        top: -16px;
        right: 21px;
        z-index: 999;
        border-width: 8px;
        border-bottom-color: #f9f9f9;

    }
    &:after {
        @include css-arrow;
        top: -20px;
        right: 19px;
        z-index: 888;
        border-width: 10px;
        border-bottom-color: $line-color;
    }
    abbr {
        display: none;
    }
    sup {
        left: 6px;
    }
    hr {
        margin: 0;
        border-top: 1px solid $line-color;
        width: 100%;
    }
    .k-i-arrow-60-right {
        left: .2rem;
        right: auto;
        &:before {
            content: "\e007";
        }
    }
    i,
    img {
        margin-left: 6px;
        margin-right: 0;
    }
    i.color{
        &:first-child {
            border-left: none;
            border-radius: 0 $border-radius $border-radius 0;
        }
        &:last-child {
            margin-left: 6px;
            border-right: none;
            border-radius: $border-radius 0 0 $border-radius;
        }
    }
    .k-group {
        .k-link {
            border-right: $hover-border;
            padding: 8px 20px 8px 30px;
        }
    }
    > .k-item {
        > .k-link {
            border-right: $hover-border;
            padding: 6px 8px;
            min-width: 100px;
            img {
                margin: 5px;
            }
        }
    }
    .k-state-hover > .k-link,
    .k-item > .k-state-active {
        @include nav-menu-bg-dark;
    }
    .global-search > .k-link {
        abbr {
            display: inline-block;
            height: 30px;
            line-height: 30px;
        }
    }
}

#globalSearch-list {
    .k-group-header {
        padding: 0 !important;
        height: 24px;
        & > div {
            line-height: 24px;
        }
    }
    .k-state-focused {
        box-shadow: none;
    }
    .k-item {
        i {
            margin-right: 6px;
        }
        small {
            margin-left: 6px;
            opacity: .5;
        }
    }
}

#changePasswordBox {
    padding: 30px 30px 15px 30px;
    background: #f6f6f6;
    .form-control:focus,
    .btn:focus {
        @include focus-shadow;
    }
    .k-tooltip-validation {
        display: block;
        margin: 0;
        border: 1px solid #faa685;
        border-radius: 0;
        padding: 5px 10px;
        width: 100%;
        color: #a64515;
        background-color: #fddacc;
    }
    .k-progressbar {
        border-radius: $border-radius;
        width: 100%;
        .k-progress-status-wrap {
            justify-content: center;
            border: 1px solid #ced4da;
            font-size: 12px;
            font-weight: 100;
            line-height: 20px;
        }
    }
}

/* 顶部菜单动效 */
#menuCkb {
    position: absolute;
    right: 0;
    z-index: -1;
    opacity: 0;
    &:checked {
        ~ #main,
        ~ #body {
            #header {
                .fa-ellipsis-h {
                    transform: rotate(90deg);
                }
            }
            #menuV {
                right: 0;
            }
        }
    }
}

/* 选项卡 */
#tab,
#hint {
    & > .k-tabstrip-items {
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid $line-color;
        i {
            @include nav-menu-icon-s;
            margin-right: 6px;
        }
        sup {
            top: 3px;
            left: 8px;
            @include badge-dot;
        }
        small {
            @include nav-menu-small;
        }
        sub {
            display: inline-block;
            position: relative;
            top: 0;
            margin-left: 5px;
            border-radius: $border-radius;
            padding: 2px 5px;
            height: 16px;
            font-family: "Microsoft YaHei", tahoma, sans-serif;
            font-size: $font-size-s;
            line-height: $font-size-s;
        }
        .fa-times-circle {
            margin-left: 5px;
            margin-right: 0;
            text-align: center;
        }
        .k-item {
            margin-right: 5px;
            border-color: $line-color;
            border-radius: $border-radius;
            color: $footer-txt-color;
            background-color: rgba(255, 255, 255, .6);
        }
        .k-link {
            white-space: nowrap;
        }
    }
    & > .k-content {
        margin-right: -17px;
        border: none;
        padding: 0;
        height: 10px;
        background: none;
        overflow-x: hidden;
        overflow-y: auto;
    }
}

#contextMenu {
    i {
        @include nav-menu-icon-s;
        margin-right: 6px;
        text-align: center;
    }
    .k-link {
        padding: 8px 30px 8px 20px;
    }
}

/* 登录 */
#login {
    main {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        text-align: center;
        color: #fff;
        opacity: .6;
        #avatar {
            border-radius: $border-radius-round;
            width: 128px;
            height: 128px;
            background: #fff;
            box-shadow: 0 0 3px 1px rgba(0, 0, 0, .6);
            transition: all 1s;
        }
        .user-avatar {
            transform: rotateY(360deg);
        }
        h3 {
            margin: 20px 0;
            font-size: 24px;
            font-weight: 100;
            small {
                display: block;
                margin-top: 10px;
                font-size: $font-size-m;
                line-height: 20px;
            }
        }
        #toggle {
            position: relative;
            width: 100%;
            max-width: 430px;
            #register {
                display: none;
                position: absolute;
                .spinner-border {
                    position: absolute;
                    top: 12px;
                    right: 10px;
                }
            }
        }
    }
    form {
        padding: 0 15px;
        width: 100%;
        .form-group {
            text-align: left;
        }
        i.fas {
            width: 16px;
            height: 16px;
            font-size: 16px;
        }
        .form-control:focus,
        .btn:focus {
            @include focus-shadow;
        }
        .form-control-lg {
            padding: 1.3rem 1rem;
            height: 40px;
            font-size: 1rem;
        }
        .k-tooltip-validation {
            display: block;
            margin: 0;
            border: 1px solid #faa685;
            border-radius: 0;
            padding: 5px 10px;
            width: 100%;
            color: #a64515;
            background-color: #fddacc;
        }
        .verify-bar-area {
            position: relative;
            border: 1px solid #ced4da;
            border-radius: $border-radius;
            text-align: center;
            color: #495057;
            background: #fff;
            .verify-left-bar {
                position: absolute;
                top: -1px;
                left: -1px;
                border-radius: $border-radius 0 0 $border-radius;
            }
            .verify-move-block {
                position: absolute;
                top: 0;
                left: 0;
                border-radius: $border-radius;
                color: #fff;
                background: #007bff;
                cursor: pointer;
                &:hover {
                    background: #0069d9;
                }
                .verify-icon {
                    margin-right: 0;
                }
            }
        }
        .custom-control {
            .custom-control-label {
                &:before,
                &:after {
                    width: $font-size-l;
                    height: $font-size-l;
                }
            }
        }
        .k-progressbar {
            border-radius: $border-radius;
            width: 100%;
            .k-progress-status-wrap {
                justify-content: center;
                border: 1px solid #ced4da;
                font-size: 12px;
                font-weight: 100;
                line-height: 20px;
            }
        }
    }
    footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        font-size: $font-size-s;
        line-height: 3em;
        text-align: center;
        color: rgba(255, 255, 255, .6);
    }
    #live2d-widget {
        bottom: -100px !important;
        .live2d-widget-dialog-container {
            height: auto;
        }
    }
}

/* 主要内容 */
#inProgress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    overflow: visible;
    .animated {
        position: relative;
        overflow: visible;
        animation: inProgress 10s ease-in-out forwards;
        &:after {
            position: absolute;
            top: 0;
            right: 0;
            width: 30px;
            height: 3px;
            border-radius: 100% 5% 5% 100% / 100% 100% 100% 100%;
            transform: scale(1, .6);
            content: "";
        }
    }
}

@keyframes inProgress {
    0% {
        width: 0;
    }
    100% {
        width: 98%;
    }
}

#skeleton {
    margin: 0;
    padding: 1rem;
    list-style: none;
    .media {
        margin-bottom: 2rem;
    }
    figure {
        align-self: center;
        margin-right: 2rem;
        border-radius: $border-radius-round;
        width: 64px;
        height: 64px;
        background-image: linear-gradient(to right, #ddd 0%, #ccc 25%, #ddd 50%, #ccc 75%, #ddd 100%);
        background-size: 200% 100%;
        animation: streamer 2s linear infinite;
    }
    h5 {
        margin-bottom: 1.5rem;
        width: 50%;
        height: 24px;
        background-image: linear-gradient(to right, #ddd 0%, #ccc 25%, #ddd 50%, #ccc 75%, #ddd 100%);
        background-size: 200% 100%;
        animation: streamer 2s linear infinite;
        & + p {
            width: 80%;
        }
    }
    p {
        height: 16px;
        background-image: linear-gradient(to right, #ddd 0%, #ccc 25%, #ddd 50%, #ccc 75%, #ddd 100%);
        background-size: 200% 100%;
        animation: streamer 2s linear infinite;
        &:last-child {
            width: 30%;
        }
    }
}

@keyframes streamer {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -100% 0;
    }
}

#loading {
    display: none;
    position: fixed;
    z-index: 9999;
    color: $header-bg-color;
    background: $mask-bg;
    &:before,
    &:after {
        border-width: 3px;
        box-shadow: 0 0 3px 3px rgba(255, 255, 255, .3);
    }
}

#template {
    display: none;
}

#toolBox,
#goTop {
    position: fixed;
    right: 32px;
    z-index: 999;
}

#toolBox {
    bottom: 72px;
    width: 48px;
    height: 60px;
    button {
        position: absolute;
        bottom: 0;
        z-index: 6;
        opacity: 0;
        @include nav-menu-ani;
    }
    #tools {
        z-index: 8;
        opacity: .6;
    }
    &:hover {
        button {
            opacity: .6;
        }
        #tools {
            z-index: 4;
            opacity: 0;
        }
    }
}

#goTop {
    display: none;
    bottom: 12px;
    opacity: .6;
}

#toolBox > button,
#goTop {
    border-radius: $border-radius-round;
    margin-top: 12px;
    padding: 0;
    width: 48px;
    height: 48px;
    font-size: 24px;
    line-height: 24px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .6);
    &:hover {
        box-shadow: 0 0 10px rgba(0, 0, 0, .8);
    }
    i {
        cursor: pointer;
    }
}

#botChat {
    overflow: hidden;
    position: fixed;
    top: $header-height;
    right: -300px;
    z-index: 9999;
    width: 300px;
    height: calc(100% - #{$header-height});
    background: $section-bg-color;
    @include nav-menu-ani;
    .k-avatar {
        border: 1px solid $line-color;
    }
}

#botCkb {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    opacity: 0;
    ~ label {
        position: absolute;
    }
    &:checked {
        ~ label {
            #botMask {
                z-index: 9998;
                opacity: 1;
            }
        }
        ~ #botChat {
            right: 0;
        }
    }
}

#weatherBox {
    .skeleton {
        display: inline-block;
        width: 100%;
        height: $font-size-xxl;
        background-image: linear-gradient(to right, #ddd 0%, #ccc 25%, #ddd 50%, #ccc 75%, #ddd 100%);
        background-size: 200% 100%;
        animation: streamer 2s linear infinite;
        vertical-align: middle;
    }
    .skeleton-round {
        border-radius: $border-radius-round;
        width: 100px;
        height: 100px;
    }
    .card-header {
        font-size: $font-size-m;
        text-align: center;
        .fas {
            margin-right: .5rem;
            font-size: $font-size-xxl;
            vertical-align: middle;
        }
        .flag-icon {
            margin-left: .5rem;
            font-size: $font-size-xxl;
            vertical-align: top;
        }
        .loc {
            display: inline-block;
            min-width: 60%;
            height: $font-size-xxl;
            vertical-align: middle;
        }
    }
    .card-body {
        padding-bottom: .75rem;
        .row {
            .skeleton {
                width: 60%;
            }
            .col-6 {
                margin-bottom: .5rem;
                .wi {
                    margin-right: .5rem;
                    width: 20px;
                    text-align: center;
                }
            }
            .col-6:last-child {
                padding-left: 0;
            }
        }
        time {
            display: block;
            margin-bottom: .5rem;
            font-size: $font-size-s;
            text-align: center;
            color: #999;
        }
        .tmp {
            font-family: arial, sans-serif;
            font-size: 6rem;
            font-weight: 400;
            line-height: 1em;
        }
        .wi-celsius {
            font-size: 4rem;
        }
        .cond-txt {
            align-self: flex-end;
            margin-left: -2rem;
            margin-bottom: .6rem;
            min-width: 2em;
            font-size: 1.25rem;
            font-weight: 300;
        }
        .cond-code {
            margin-left: auto;
            font-size: 5rem;
            line-height: 1.2em;
        }
        .air {
            margin-bottom: .8rem;
            text-align: center;
            .badge {
                margin-left: .5rem;
                font-weight: normal;
            }
        }
        #weatherChart {
            margin-left: -15px;
            margin-right: -15px;
            .skeleton {
                height: 100px;
            }
        }
    }
    .card-footer {
        font-size: $font-size-s;
        .skeleton {
            height: 80px;
        }
        .col-4 {
            display: flex;
            flex-direction: column;
            text-align: center;
            .icon {
                padding: 1rem 0;
            }
            i.theme-m {
                margin-right: .25rem;
                max-width: 36px;
                font-size: 30px;
            }
            i.theme-s {
                margin-left: .25rem;
                max-width: 24px;
                font-size: 20px;
            }
        }
    }
}

#lunarBox {
    .card {
        border: 0;
        .row {
            & > div {
                height: 408px;
            }
            & > div:first-child {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                text-align: center;
                font-size: 1.5rem;
                & > div {
                    margin-top: .5rem;
                    margin-bottom: .5rem;
                    span {
                        display: inline-block;
                        margin: 0 .5rem;
                    }
                }
                .day {
                    border-radius: 10px;
                    padding: 0 1rem .5rem 1rem;
                    font-family: verdana, sans-serif;
                    font-size: 10rem;
                    font-weight: 400;
                    line-height: 1em;
                }
                .week,
                .moon-phase {
                    i {
                        margin-right: 8px;
                        font-size: 1.6rem;
                        vertical-align: bottom;
                    }
                }
                .week,
                .moon-phase,
                .festival,
                .lunar-year {
                    font-size: 1.2rem;
                }
            }
        }
    }
    .k-calendar,
    .k-calendar-view,
    .k-calendar-view > table,
    .k-calendar-view .k-link {
        width: 100%;
    }
    .k-calendar {
        height: 408px;
        .k-calendar-view {
            height: 24em;
            & > table,
            .k-link {
                position: relative;
                height: 100%;
            }
            i.wi {
                position: absolute;
                top: 6px;
                right: 12px;
            }
            .festival {
                border-color: #f35800;
                background-color: #fff;
                color: #f35800;
            }
        }
    }
}

#noteBox {
    position: relative;
    overflow-x: hidden;
    .note-tools {
        padding-top: 10px;
        text-align: center;
        &:first-child {
            display: flex;
            justify-content: space-between;
            padding-bottom: 10px;
            .k-textbox {
                padding-left: 0;
                width: 78%;
                i {
                    margin: 2px 6px;
                    width: 16px;
                    height: 16px;
                    font-size: 16px;
                    line-height: 16px;
                }
            }
            .k-order-button,
            .k-clear-button {
                display: inline-block;
                border: 1px solid $line-color;
                border-radius: $border-radius;
                width: 30px;
                height: 30px;
                line-height: 30px;
            }
            .k-order-button:nth-child(odd) {
                display: none;
            }
        }
        .k-button {
            border-radius: $border-radius-round;
            width: 48px;
            height: 48px;
            .k-icon {
                font-size: 30px;
            }
        }
    }
    #noteListView {
        margin-right: -35px;
        border: 0;
        padding-right: 18px;
        .blank {
            display: flex;
            justify-content: center;
            align-items: center;
            position: absolute;
            padding-right: 18px;
            width: 100%;
            height: 100%;
        }
        .alert {
            border: 1px solid transparent;
            border-radius: 8px;
            padding: .5rem .75rem 0 .75rem;
            p {
                margin: 0;
            }
            hr {
                margin-top: .5rem;
                margin-bottom: .5rem;
            }
            time {
                display: flex;
                justify-content: space-between;
                small {
                    display: inline-block;
                    height: 24px;
                    opacity: .5;
                }
                .k-button {
                    margin-top: -6px;
                    margin-left: 6px;
                    border-radius: $border-radius-round;
                    padding: 0;
                    width: 24px;
                    height: 24px;
                    line-height: 24px;
                }
            }
        }
        .alert-primary {
            border-color: #b8daff;
        }
        .alert-secondary {
            border-color: #d6d8db;
        }
        .alert-success {
            border-color: #c3e6cb;
        }
        .alert-danger {
            border-color: #f5c6cb;
        }
        .alert-warning {
            border-color: #ffeeba;
        }
        .alert-info {
            border-color: #bee5eb;
        }
    }
}

/* 手机端适配 */
@media only screen and (max-width: 767px) {
    #login {
        #live2d-widget {
            right: -20px !important;
            bottom: -60px !important;
            width: 100px !important;
            height: 200px !important;
            .live2d-widget-dialog-container {
                right: 80px;
                bottom: 33%;
            }
            #live2dcanvas {
                width: 100px !important;
                height: 200px !important;
            }
        }
    }

    #navCkb:checked ~ #aside #navPanelBar,
    #header h1,
    #header label[for="menuCkb"],
    #menuV {
        display: block;
    }

    #navCkb:checked ~ #aside #navMenu,
    #navCkb:checked ~ #main #header h1,
    #menuH,
    #path span {
        display: none;
    }

    #aside {
        left: -$aside-nav-width;
    }

    #main{
        left: 0;
        width: 100%;
    }

    #navCkb {
        &:checked {
            ~ label {
                #mask {
                    z-index: 9998;
                    opacity: 1;
                }
            }
            ~ #aside {
                left: 0;
                width: $aside-nav-width;
                h1 {
                    background-image: url("../img/logo.png");
                }
                #nav {
                    overflow-x: hidden;
                    overflow-y: auto;
                    width: $aside-nav-width + 6px;
                }
            }
            ~ #main {
                left: 0;
                width: 100%;
                #header {
                    .fa-bars {
                        margin-left: $aside-nav-width + 15px;
                    }
                }
            }
        }
    }

    #footer {
        padding-top: 6px;
    }

    #locking {
        background-size: auto 100%;
    }

    #toolBox,
    #goTop {
        right: 16px;
    }

    #toolBox {
        bottom: 48px;
        width: 32px;
        height: 40px;
    }

    #goTop {
        bottom: 8px;
    }

    #toolBox > button,
    #goTop {
        margin-top: 8px;
        width: 32px;
        height: 32px;
        font-size: 16px;
        line-height: 16px;
    }

    #lunarBox {
        .card {
            .row {
                & > div:first-child {
                    flex-direction: row;
                    flex-wrap: wrap;
                    height: 80px;
                    font-size: 1rem;
                    & > div {
                        margin: 0 .5rem;
                    }
                    .day {
                        border-radius: $border-radius;
                        padding: .1rem .5rem;
                        font-size: 1.5rem;
                    }
                    .week,
                    .moon-phase {
                        i {
                            font-size: 1.3rem;
                        }
                    }
                    .week,
                    .moon-phase,
                    .festival,
                    .lunar-year {
                        font-size: 1rem;
                    }
                }
            }
        }
        .k-calendar {
            .k-calendar-view {
                i.wi {
                    top: 4px;
                    right: 2px;
                }
            }
        }
    }

    #noteBox {
        #noteListView {
            margin-right: -15px;
            padding-right: 16px;
        }
    }
}

/* Bootstrap 细节完善 ------------------------------ */
.k-ie10 .hide,
.k-ie11 .hide,
.hide {
    display: none;
}

[tabindex="-1"]:focus {
    outline: 0;
}

/* 尺寸 */
.w-5 {
    width: 5% !important;
}

.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.w-20 {
    width: 20% !important;
}

.w-30 {
    width: 33.33% !important;
}

.w-33 {
    width: 33% !important;
}

.w-40 {
    width: 40% !important;
}

.w-60 {
    width: 60% !important;
}

.w-70 {
    width: 70% !important;
}

.w-80 {
    width: 80% !important;
}

.w-90 {
    width: 90% !important;
}

.h-5 {
    height: 5% !important;
}

.h-10 {
    height: 10% !important;
}

.h-15 {
    height: 15% !important;
}

.h-20 {
    height: 20% !important;
}

.h-30 {
    height: 33.33% !important;
}

.h-33 {
    height: 33% !important;
}

.h-40 {
    height: 40% !important;
}

.h-60 {
    height: 60% !important;
}

.h-70 {
    height: 70% !important;
}

.h-80 {
    height: 80% !important;
}

.h-90 {
    height: 90% !important;
}

/* Kendo UI 细节完善 ------------------------------ */

/* 通知框 */
.k-notification-wrap {
    align-items: center;
    padding: 5px 0;
    font-size: $font-size-m;
    white-space: nowrap;
}

/* 对话框 模态框 */
.k-dialog,
.k-window {
    .k-dialog-titlebar,
    .k-window-titlebar {
        background-clip: unset;
    }
    .k-dialog-title,
    .k-window-title {
        img {
            margin-right: 10px;
            width: 20px;
            height: 20px;
        }
    }
    .dialog-box {
        padding: 40px;
        dt {
            i.fas {
                margin-right: 10px;
                font-size: 30px;
                vertical-align: middle;
            }
            i.fa-check-circle {
                color: #bede0b;
            }
            i.fa-info-circle,
            i.fa-question-circle {
                color: #84cef8;
            }
            i.fa-exclamation-circle {
                color: #f7d82a;
            }
            i.fa-times-circle {
                color: #faa685;
            }
        }
    }
    .k-dialog-buttongroup {
        .k-button {
            background-clip: unset !important;
        }
    }
    .k-window-buttongroup {
        margin-bottom: -20px;
        padding-top: 24px;
        text-align: center;
        .k-button {
            margin: 0 10px;
        }
    }
    .pic-box,
    .window-map {
        padding: 0;
    }
}

/* 按钮 */
.k-button-lg {
    padding: 8px 30px;
    height: 36px;
}

.k-button-group {
    .k-button {
        background-clip: border-box;
    }
}

/* 表单 */
form {
    label {
        .k-required {
            @include required-star;
        }
    }
    .col-form-label {
        line-height: 1.2em;
    }
    .k-label-lg {
        font-size: 16px;
        line-height: 1.5em;
    }
    .k-space-left .k-icon {
        margin-left: 3px;
    }
    .k-space-right .k-icon {
        margin-right: 3px;
    }
    .k-textbox-lg {
        height: 36px;
        &.k-space-left {
            padding-left: 3em;
            .k-icon {
                margin-left: 10px;
            }
        }
        &.k-space-right {
            padding-right: 3em;
            .k-icon {
                margin-right: 10px;
            }
        }
        .k-icon {
            margin-top: -10px;
            font-size: 20px;
        }
    }
    .ajax-loading {
        display: none;
        .k-i-loading {
            margin: 8px 5px 0 0;
            vertical-align: -20%;
        }
    }
    .k-radio-label,
    .k-checkbox-label {
        margin: 6px 12px 6px 0;
    }
    .k-tooltip-validation {
        display: flex;
        padding: 0;
    }
    .adv-search-area {
        display: none;
    }
}

/* 单选框 复选框 */
.k-radio-label,
.k-checkbox-label {
    align-items: center;
}

.k-radio,
.k-checkbox {
    flex-shrink: 0;
}

/* 下拉框 */
.k-animation-container {
    .k-list-container {
        .k-list-optionlabel,
        .k-group-header {
            padding: 0 8px;
            height: 20px;
        }
    }
}

/* 下拉分组 */
.k-popup .k-list .k-item > .k-group {
    font-size: $font-size-s;
    line-height: 20px;
    &:before {
        left: -20px;
        border-width: 10px;
    }
}

/* 穿梭框 */
.k-listbox {
    &.k-listbox-toolbar-right {
        .k-listbox-toolbar {
            margin-left: 4px;
        }
    }
    &.k-listbox-toolbar-left {
        .k-listbox-toolbar {
            margin-right: 4px;
        }
    }
    &.k-listbox-toolbar-top {
        .k-listbox-toolbar {
            margin-bottom: 4px;
        }
        .k-list-scroller {
            min-height: 225px;
        }
    }
    &.k-listbox-toolbar-bottom {
        .k-listbox-toolbar {
            margin-top: 4px;
        }
        .k-list-scroller {
            min-height: 225px;
        }
    }
}

/* 高级搜索 */
.adv-search-btn {
    position: relative;
    top: -1px;
    margin-bottom: 15px;
    text-align: center;
    .k-button {
        border-color: rgba(0, 0, 0, .125);
        border-top-color: #fff;
        border-radius: 0 0 $border-radius $border-radius;
        color: $line-color;
        background-color: #fff;
        &:active {
            box-shadow: none;
        }
        i {
            margin-right: 8px;
        }
    }
}

/* 表格 */
.k-grid {
    .fa {
        width: 16px;
        height: 16px;
        line-height: 16px;
    }
    .k-grid-search {
        .k-input-icon {
            width: 16px;
        }
    }
    .k-hierarchy-cell + td {
        border-left-width: 1px;
    }
    .k-detail-row {
        outline: 1px solid $line-color;
        background-color: rgba(0, 0, 0, .1) !important;
    }
    td[rowspan] {
        box-shadow: 1px 0 0 0 $line-color;
        & + td {
            border-left-width: 0;
        }
    }
    .k-grid-norecords-template {
        border: 0;
    }
    .k-pager-sm {
        .k-pager-input {
            display: none;
        }
    }
}

.k-edit-form-container {
    width: 600px;
    .k-edit-label {
        padding: 0;
        width: 20%;
        font-weight: bold;
        line-height: 28px;
        .k-required {
            @include required-star;
        }
    }
    .k-edit-field {
        padding-right: 5%;
        width: 75%;
        line-height: 28px;
        .k-colorpicker {
            width: 100%;
            .k-selected-color {
                width: calc(100% - 8px - 1.42857em);
            }
        }
        .k-textarea {
            width: 100%;
        }
    }
    .k-edit-buttons {
        text-align: center;
    }
    div.k-tooltip-validation {
        margin: .5em 0 0 0 !important;
        padding: 0;
    }
}

.k-grid-edit-row {
    strong.k-required {
        margin-bottom: .3em;
        margin-left: -6px;
        @include required-star;
        small {
            margin-left: 3px;
            font-size: $font-size-s;
            font-weight: normal;
            vertical-align: 60%;
        }
    }
    .k-radio-label,
    .k-checkbox-label {
        margin-right: 12px;
    }
    .k-slider {
        .k-button-increase,
        .k-button-decrease {
            margin-top: -3px;
        }
        .k-tick {
            background-position-y: -95px;
        }
    }
    .k-colorpicker {
        .k-selected-color {
            width: calc(100% - 8px - 1.42857em);
        }
    }
    .k-textarea {
        margin-left: calc(-8px - 1px);
        width: calc(100% + ((8px + 1px) * 2));
    }
    .k-editor {
        border: 1px solid $line-color;
        .k-editor-toolbar-wrap {
            padding: 0;
        }
    }
    div.k-tooltip-validation {
        margin: .6em 0 0 -9px !important;
        white-space: nowrap;
        .k-callout-n {
            left: 15px;
        }
    }
    .k-edit-cell {
        padding-top: 10px !important;
        padding-bottom: 15px !important;
    }
}

.k-filter-row {
    .k-filtercell {
        .k-colorpicker {
            .k-selected-color {
                width: calc(100% - 8px - 1.42857em);
            }
        }
    }
}

/* 树形 */
.k-treeview {
    .k-in {
        .k-sprite {
            font-size: inherit;
            line-height: inherit;
        }
        .k-image {
            width: 16px;
            height: 16px;
        }
        .k-textbox {
            width: 10em;
        }
        .k-button {
            display: none;
            margin-left: 5px;
        }
    }
    .k-state-selected,
    .k-state-focused,
    .k-state-hover {
        .k-required {
            color: inherit;
        }
        .k-button {
            display: inline-flex;
        }
    }
}

.k-drag-clue {
    .k-button {
        display: none;
    }
}

/* 列表 */
.k-listview {
    > div {
        border: 0;
        border-top: 1px solid $line-color;
        &.k-state-focused {
            box-shadow: none;
        }
        &:first-child {
            border-top: 0;
        }
        .k-edit-button,
        .k-del-button {
            visibility: hidden;
        }
        &:hover {
            .k-edit-button,
            .k-del-button {
                visibility: visible;
            }
        }
        &.k-edit-item {
            background: $alt-bg-color;
        }
    }
}

/* 多重日历 */
.k-calendar-range {
    caption {
        caption-side: top;
    }
}

/* 甘特图 */
.k-gantt {
    .k-tooltip {
        white-space: nowrap;
    }
}

/* BUG 临时修复 */
.k-current-page {
    display: none !important;
}

/* 自定义 Kendo UI 组件 ------------------------------ */

/* 步骤条 */
.k-step {
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: $border-radius;
    background: #fff;
    .k-tabstrip-items {
        justify-content: space-between;
        margin: 0 auto;
        border: none;
        padding: 20px 0;
        width: 72%;
        &:after {
            position: absolute;
            top: 38%;
            left: 5%;
            z-index: 1;
            width: 90%;
            height: 1px;
            background: #ccc;
            content: "";
        }
        .k-item {
            position: relative;
            z-index: 9;
            .k-link {
                flex-direction: column;
                em {
                    display: block;
                    padding: 0 12px;
                    font-style: normal;
                    background: #fff;
                    strong {
                        display: inline-block;
                        margin-bottom: 6px;
                        border-width: 1px;
                        border-style: solid;
                        border-radius: $border-radius-round;
                        width: 28px;
                        height: 28px;
                        line-height: 28px;
                        background: #fff;
                        text-align: center;
                    }
                }
            }
        }
        .k-item.k-state-active {
            z-index: 9;
            border: none;
            background: none;
            & ~ li > .k-link {
                color: #ccc;
                strong {
                    border-color: #ccc;
                    color: #fff;
                    background: #ccc;
                }
            }
        }
        .k-item.k-state-disabled {
            opacity: 1;
        }
    }
    .k-content {
        margin: 0 20px 20px 20px;
        border: 1px solid rgba(0, 0, 0, .125);
        border-radius: $border-radius;
        padding: 20px 20px 10px 20px;
        .k-step-btns {
            margin-top: 20px;
            text-align: center;
            button {
                margin: 0 10px;
            }
        }
    }
}

@media only screen and (max-width: 767px) {
    .k-step {
        .k-tabstrip-items {
            width: 96%;
        }
    }
}

/* 时间轴 */
.k-timeaxis {
    position: relative;
    list-style: none;
    &:before,
    &:after {
        position: absolute;
        left: 15px;
        width: 0;
        content: '';
    }
    &:before {
        bottom: -1rem;
        z-index: 2;
        border-left: 1px dashed #fff;
        height: 2rem;
    }
    &:after {
        top: 10px;
        z-index: 1;
        border-left: 1px solid #ccc;
        height: 100%;
    }
    > li {
        position: relative;
        &:before,
        &:after {
            position: absolute;
            z-index: 10;
            border-radius: $border-radius-round;
            content: '';
        }
        &:before {
            top: 5px;
            left: -30px;
            width: 11px;
            height: 11px;
        }
        &:after {
            top: 7px;
            left: -28px;
            width: 7px;
            height: 7px;
            background: #fff;
        }
        time {
            margin-right: 10px;
        }
        p {
            display: inline-block;
            small {
                margin-left: 10px;
                color: #999;
            }
        }
    }
    > li.muted {
        &:before {
            background: #999;
        }
    }
}

/* 自定义细节 ------------------------------ */
.w-9 {
    width: 9% !important;
}

.ml-p1 {
    margin-left: 1%;
}

.w-4 {
    width: 4% !important;
}

.w-48 {
    width: 48% !important;
}

.dot-color {
    display: inline-block;
    border: 1px solid;
    border-radius: $border-radius-round;
    width: 10px;
    height: 10px;
}

.mars {
    color: rgb(82, 177, 255);
}

.venus {
    color: rgb(255, 150, 192);
}